package com.jianyun.jyzs.view.iview;

import com.hannesdorfmann.mosby3.mvp.MvpView;
import com.jianyun.jyzs.bean.NewSign2Bean;
import com.jianyun.jyzs.bean.Sign2Bean;
import com.jianyun.jyzs.bean.SignStateBean;

import java.util.List;

/**
 * Created by yangshijun on 2018/8/2.
 * 打卡2
 */

public interface INewSign2View extends MvpView {
    /**
     * 获取打卡记录
     * @param signDetail
     */
    void onGetSignListSunccess(List<NewSign2Bean.SignDetail> signDetail);

    /**
     * 打卡成功
     * @param o
     */
    void onSignSuccess(Sign2Bean o);

    /**
     * 更新打卡成功
     * @param o
     */
    void onUpdateSignSuccess(Object o);

    /**
     * 获取用户打卡状态接口
     * @param o
     */
    void onGetSignState(SignStateBean signStateBean);

    void showLoading();

    void hideLoading();

    void onFaile(String msg);
}
